package com.eve.mapper;


import com.eve.entity.Picture;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface PictureMapper  {
    //根据用户id查询图片
    List<Picture> findByUserId(Integer id);
    //保存用户的图片记录
    void save(Picture picture);

    //根据用户id删除图片记录
    void deletePicture(Integer id);

    //查询照片
    List<Picture> listPicture();
}
